#ifndef _VIDEO_MODEL_IO_HXX_
#define _VIDEO_MODEL_IO_HXX_

class QWidget;

class VideoModel;

class VideoModelIO
{
public:
	static bool WriteModel(VideoModel* model, const char* fileName);
	static bool LoadModel(VideoModel* model, const char* fileName);
	static bool ExportModel(QWidget* widget, VideoModel* model, const char* imageDir);

private:
	static bool ExportVideoFrames(QWidget* widget, VideoModel* model, const char* imageDir);
	static bool ExportFileList(QWidget* widget, VideoModel* model, const char* imageDir);
};
#endif